import { get } from "../utils/request";
export const loadProductsAPI = (page = 1, category = "") =>
  get("/api/v1/products", { page, category });

export const loadProductDetailAPI = (id) => get("/api/v1/products/" + id);
